context-sensitive grammar

Terms from Artificial Intelligence: humans at the heart of algorithms

Page numbers are for draft copy at present; they will be replaced with correct numbers when final book is formatted. Chapter numbers are correct and will not change now.

A context-sensitive grammar has rules where the expansion of a non-terminal may depend on the tokens before or after.

Used in Chap. 13: pages 207, 210, 211, 213, 218

Also known as context sensitivity, context-sensitive